FROM openjdk:17
ENV APP_HOME=/apps
WORKDIR $APP_HOME
COPY ./air-quality-service-0.0.1-SNAPSHOT-exec.jar ./air-quality-service.jar
EXPOSE 9092
ENTRYPOINT ["java","-jar","-Xms100m","-Xmx100m"]
CMD ["air-quality-service.jar"]